#include "type.h"

typedef struct {
    uint8 ChannelNumber;
    uint8 RequestedMaximumPrivilegeLevel;
} __attribute__((__packed__)) GetChannelAuthenticationCapabilitiesReq;

typedef struct {
    uint8 CompletionCode;
    uint8 ChannelNumber;
    uint16 AuthenticationTypeSupport;
    uint8 ExtendedCapabilities;
    uint8 OEMID[3];
    uint8 OEMauxiliarydata;
} __attribute__((__packed__)) GetChannelAuthenticationCapabilitiesRes;

uint16 GetChannelAuthenticationCapabilities(uint8* request_data, uint16 request_data_size, uint8* response_data);
